﻿@model ThucTapOnsoft.Models.MONHOC
@{
    ViewBag.Title = "edit";
}

<h2>edit</h2>
@using (Html.BeginForm())
//@for (int i = 0; i < Model.Count;i++ )
{
<table>
    <tr>
        <td>Mã môn:</td>
        <td>@Html.TextBoxFor(m =>m.mamon)</td>
    </tr>
     <tr>
        <td>Tên môn:</td>
        <td>@Html.TextBoxFor(m => m.tenmon)</td>
    </tr>
     <tr>
        <td>Số tiết:</td>
        <td>@Html.TextBoxFor(m => m.sotiet)</td>
    </tr> 
    <tr>
        <td>Thứ tự:</td>
        <td>@Html.TextBoxFor(m => m.thutu)</td>
    </tr>
     <tr>
        <td></td>
        <td><input type="submit" name="Sua" value="Sua" /></td>
    </tr>
</table>
}